public class DoubleMatrix
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
swigCMemOwn |
Modifier | Constructor and Description |
---|---|
|
DoubleMatrix(DoubleMatrix other) |
protected |
DoubleMatrix(long cPtr,
boolean cMemoryOwn) |
|
DoubleMatrix(long nRows,
long nCols) |
|
DoubleMatrix(long nRows,
long nCols,
double val) |
|
DoubleMatrix(long nRows,
long nCols,
Shared_Double_Array data) |
Modifier and Type | Method and Description |
---|---|
DoubleMatrix |
assign(DoubleMatrix other) |
void |
delete() |
protected void |
finalize() |
void |
getCol(long i,
SWIGTYPE_p_RDNumeric__VectorT_double_t col) |
protected static long |
getCPtr(DoubleMatrix obj) |
SWIGTYPE_p_double |
getData() |
long |
getDataSize() |
void |
getRow(long i,
SWIGTYPE_p_RDNumeric__VectorT_double_t row) |
double |
getVal(long i,
long j) |
long |
numCols() |
long |
numRows() |
void |
setVal(long i,
long j,
double val) |
DoubleMatrix |
transpose(DoubleMatrix transpose) |
protected DoubleMatrix(long cPtr, boolean cMemoryOwn)
public DoubleMatrix(long nRows, long nCols)
public DoubleMatrix(long nRows, long nCols, double val)
public DoubleMatrix(long nRows, long nCols, Shared_Double_Array data)
public DoubleMatrix(DoubleMatrix other)
protected static long getCPtr(DoubleMatrix obj)
protected void finalize()
finalize
in class java.lang.Object
public void delete()
public long numRows()
public long numCols()
public long getDataSize()
public double getVal(long i, long j)
public void setVal(long i, long j, double val)
public void getRow(long i, SWIGTYPE_p_RDNumeric__VectorT_double_t row)
public void getCol(long i, SWIGTYPE_p_RDNumeric__VectorT_double_t col)
public SWIGTYPE_p_double getData()
public DoubleMatrix assign(DoubleMatrix other)
public DoubleMatrix transpose(DoubleMatrix transpose)